package com.qtu.user_service;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableRabbit//开启基于注解的RabbitMQ模式   @EnableRabbit+@RabbitListener监听消息队列的内容
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.qtu.user_service.feign")
@MapperScan("com.qtu.user_service.mapper")
public class UserService8200Application {

	public static void main(String[] args) {
		SpringApplication.run(UserService8200Application.class, args);
	}

}
